package org.smile.design.brige;

import lombok.Data;

@Data
public class NavigateEquipment extends ShipEquipment {

    public NavigateEquipment(String name) {
        super(name);
    }

    public void navigate() {
        System.out.println(this.getName() + " 导航");
    }

    @Override
    public void execute() {
        navigate();
    }
}
